<template>
    <div class="Daliywelfare-bg">
        <div class="Daliywelfare-bg-1">
            <p>{{Daliywelfaredata[0]}}</p>
        </div>
        <el-row class="Daliywelfare-bg-2">
            <el-col :span="19">
                <p>{{Daliywelfaredata[1]}}</p>
                <hr>
                <span>{{Daliywelfaredata[2]}}</span>
            </el-col>
            <el-col :span="5">
                <span>{{Daliywelfaredata[3]}}<br>{{Daliywelfaredata[4]}}</span>
            </el-col>
        </el-row>
    </div>
</template>

<script>
import {Daliywear} from "@/api/index"
export default {
    name: 'Daliywelfare',

    data() {
        return {
            Daliywelfaredata:[],
        };
    },
    mounted() {
        let i = async () =>{
            let Daliy = await Daliywear()
            // console.log(Daliy.data.Daliywelfare);
            this.Daliywelfaredata = Daliy.data.Daliywelfare
        }
        i()
    },
};
</script>

<style scoped>
    .Daliywelfare-bg{
        margin: 0 auto;
        background-image: url(@/assets/images/首页_24.gif);
        background-repeat: no-repeat;
        background-size: 100%;
        width: 400px;
        height: 140px;
    }
    .Daliywelfare-bg-1{
        width: 50px;
        height: 15px;
        background-color: rgb(255, 124, 37);
        color: white;
        font-size: 0.7em;
        border-radius: 6px;
        position: relative;
        margin: 0px auto;
    }
    .Daliywelfare-bg-2{
        width: 200px;
        height: 40px;
        position: relative;
        margin-top: 20px;
        margin-left: 125px;
        font-size: 0.9em;
    }
    .Daliywelfare-bg-2 span{
        font-size: 0.8em;
    }
    .Daliywelfare-bg-2{
        margin-left: 170px;
    }
    .Daliywelfare-bg-2>.el-col:last-child{
        background-color: rgb(247, 88, 79);
        border-radius: 50%;
        height: 40px;
        color: white;
        text-align: center;
        cursor: pointer;
    }
</style>